﻿using RoslynProxy.Core.Contracts;

namespace RoslynProxy.SourceGenerator
{
    /// <summary>
    /// 代理服务信息
    /// </summary>
    public class ProxyServiceInfo
    {
        /// <summary>
        /// 代理服务
        /// </summary>
        public string ProxyServiceType { get; set; }

        /// <summary>
        /// 代理接口实例类型
        /// </summary>
        public string InstanceType { get; set; }

        /// <summary>
        /// 服务作用域
        /// </summary>
        public ServiceScopes Scope { get; set; }

        public ProxyServiceInfo(string proxyServiceType, string instanceType, ServiceScopes scope)
        {
            ProxyServiceType = proxyServiceType;
            InstanceType = instanceType;
            Scope = scope;
        }
    }
}
